package com.uzai.common.dto;

import java.util.List;

/**
 * @author mingyang.chen create in 2023/4/26 10:04
 */
public class MobileAppConfigChangeMsg {

    // 手机APP配置消息
    private List<ConfigItem> configItemList;

    public List<ConfigItem> getConfigItemList() {
        return configItemList;
    }

    public void setConfigItemList(List<ConfigItem> configItemList) {
        this.configItemList = configItemList;
    }

    public static class ConfigItem {
        /**
         * {@link  com.uzai.common.enums.MobileAppConfigKeyType}
         */
        private String key;
        private Object value;
        private String desc;
        // 配置项类型, 1: bool, 2: int, 3: string
        private Integer type;

        public String getKey() {
            return key;
        }

        public void setKey(String key) {
            this.key = key;
        }

        public Object getValue() {
            return value;
        }

        public void setValue(Object value) {
            this.value = value;
        }

        public String getDesc() {
            return desc;
        }

        public void setDesc(String desc) {
            this.desc = desc;
        }

        public Integer getType() {
            return type;
        }

        public void setType(Integer type) {
            this.type = type;
        }
    }
}
